package com.example.dto;

import com.example.entity.Student;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
public class VisitRecordWithStuDto {
    private String sno;
    private String sname;
    private String ssex;
    private String sdept;
    private String dno;

    //    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
//    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSX")
//    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private LocalDateTime inTime;
    //    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
//   @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSX")
//    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private LocalDateTime outTime;

}
